<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Trang  địa điểm</title>
<link rel="stylesheet" type="text/css" href="JS/styleAdmin.css" />
<script type="text/javascript" src="JS/jquery.min.js"></script>
<script type="text/javascript" src="JS/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='images/plus.gif' class='statusicon' />", "<img src='images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
</script>
<script src="JS/jquery.jclock-1.2.0.js.txt" type="text/javascript"></script>

<script type="text/javascript" src="JS/jconfirmaction.jquery.js"></script>
<script type="text/javascript">
	
	$(document).ready(function() {
		$('.ask').jConfirmAction();
	});
	
</script>
<script type="text/javascript">
$(function($) {
    $('.jclock').jclock();
});
</script>


<script language="javascript" type="text/javascript" src="JS/niceforms.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="JS/niceforms-default.css" />
</head>

<body>

<div id="main_container">

	<div class="header">
    <div class="logo"><a href="#"><img src="images/logo.png" alt="" title="" border="0" /></a></div>
    
    <div class="right_header">Xin chào <b>Admin</b>,<a href="#" class="logout">Đăng xuất</a></div>
    <div class="jclock"></div>
    </div>
    <div class="main_content">
    
                    <div class="menu">
                    <ul>
                    <li><a class="current" href="search client.html">Trang chủ</a></li>
                    <li><a href="#">Danh mục<!--[if IE 7]><!--></a><!--<![endif]-->
                    <!--[if lte IE 6]><table><tr><td><![endif]-->
                        <ul>
                        <li><a href="" title="">Phòng trọ</a></li>
                        <li><a href="" title="">Cơ quan nhà nước</a></li>
                        <li><a href="" title="">Siêu thị</a></li>
                        <li><a href="" title="">Cửa hàng đồ gỗ</a></li>
                        <li><a href="" title="">Cửa hàng kim khí</a></li>
                        <li><a href="" title="">Siêu thị điện máy</a></li>
                        </ul>
                    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                    </li>
                    <li><a href="trang phuong.html">Phường<!--[if IE 7]><!--></a><!--<![endif]--></li>
                    <li><a href="#">Đường<!--[if IE 7]><!--></a><!--<![endif]-->
                   
                    </li>
                    <li><a href="#">Địa điểm<!--[if IE 7]><!--></a><!--<![endif]-->
                    </li>
                    <li><a href="">Dữ liệu</a></li>
                    <li><a href="">Liên hệ</a></li>
                    </ul>
                    </div> 
                    
                    
                    
                    
    <div class="center_content">  
    
        <div class="left_content">
    
    		<div class="sidebar_search">
            <form>
            <input type="text" name="" class="search_input" value="search keyword" onclick="this.value=''" />
            <input type="image" class="search_submit" src="images/search.png" />
            </form>            
            </div>
            <div class="sidebarmenu">
            
                <a class="menuitem submenuheader" href="">Hệ thống</a>
                <div class="submenu">
                    <ul>
                    <li><a href="">Người dùng</a></li>
                    <li><a href="">Kết nối</a></li>
                    <li><a href="">Quảng cáo</a></li>
                    <li><a href="">Thông tin liên hệ</a></li>
                    <li><a href="">Thay đổi mật khẩu</a></li>
                    </ul>
                </div>
                <a class="menuitem submenuheader" href="" >Danh mục</a>
                <div class="submenu">
                    <ul>
                    <li><a href="Trang chu Admin.html">Phòng trọ</a></li>
                    <li><a href="Trang chu Admin.html">Cơ quan nhà nước</a></li>
                    <li><a href="Trang chu Admin.html">Siêu thị</a></li>
                    <li><a href="Trang chu Admin.html">Cửa hàng đồ gỗ</a></li>
                    <li><a href="Trang chu Admin.html">Cửa hàng cơ khí</a></li>
                    <li><a href="Trang chu Admin.html">Siêu thị điện máy</a></li>
                    </ul>
                </div>
                <a class="menuitem submenuheader" href="">Khác</a>
                <div class="submenu">
                    <ul>
                    <li><a href="trang quan.html">Quận</a></li>
                    <li><a href="trang phuong.html">Phường</a></li>
                    <li><a href="trang dia diem.html">Địa điểm</a></li>
                    <li><a href="">Dữ liệu</a></li>
                    <li><a href="">Thành phố</a></li>
                    </ul>
                </div>                                
                <a class="menuitem_red" href="">Thông báo</a>
                    
            </div>
            <div class="sidebar_box">
                <div class="sidebar_box_top"></div>
                <div class="sidebar_box_content">
                <h4>Cảnh báo</h4>
                <img src="images/notice.png" alt="" title="" class="sidebar_icon_right" />
                <p>
                	Vui lòng kiểm tra kỹ các thông tin về dữ liệu trước khi nhập
                </p>                
                </div>
                <div class="sidebar_box_bottom"></div>
            </div>
            <div class="sidebar_box">
                <div class="sidebar_box_top"></div>
                <div class="sidebar_box_content">
                <h3>Dữ liệu mới</h3>
                <img src="images/info.png" alt="" title="" class="sidebar_icon_right" />
                <ul>
                <li>Đường trần hữu huân.</li>
                <li>Nhà trọ hoàng minh</li>
                <li>Cửa hàng đồ gỗ kim phụng</li>
                <li>Phòng trọ Tiên Thùy</li>
                <li>Đường Huyền trân công chúa</li>
                <li>Đường Kiều Trinh</li>
                </ul>                
                </div>
                <div class="sidebar_box_bottom"></div>
            </div>
              
    </div>  
    
    <div class="right_content">            
        
    <h2>Danh sách địa điểm</h2> 
     <table id="rounded-corner" summary="2007 Major IT Companies' Profit">
            <thead>
                <tr>
                    <th scope="col" class="rounded-company"></th>
                    <th scope="col" class="rounded">Mã địa điểm</th>
                    <th scope="col" class="rounded">Tên địa điểm </th>
                    <th scope="col" class="rounded">Sửa</th>
                    <th scope="col" class="rounded-q4">Xóa</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><input type="checkbox" name="" /></td>
                    <td>1</td>
                    <td>Phòng trọ</td>
                    <td><a href="javascript:ShowEdit()" ><img src="images/user_edit.png" alt="" title="" border="0" /></a></td>
                    <td><a href="#" class="ask"><img src="images/trash.png" alt="" title="" border="0" /></a></td>
                </tr>
                
                <tr>
                    <td><input type="checkbox" name="" /></td>
                    <td>2</td>
                    <td>Cơ quan nhà nước</td>
                    <td><a href="javascript:ShowEdit()"><img src="images/user_edit.png" alt="" title="" border="0" /></a></td>
                    <td><a href="#" class="ask"><img src="images/trash.png" alt="" title="" border="0" /></a></td>
                </tr> 
                
                <tr>
                    <td><input type="checkbox" name="" /></td>
                    <td>3</td>
                    <td>Siêu thị</td>
                    <td><a href="javascript:ShowEdit()"><img src="images/user_edit.png" alt="" title="" border="0" /></a></td>
                    <td><a href="#" class="ask"><img src="images/trash.png" alt="" title="" border="0" /></a></td>
                </tr>
                
                <tr>
                    <td><input type="checkbox" name="" /></td>
                    <td>4</td>
                    <td>Cửa hàng đồ gỗ</td>
                    <td><a href="javascript:ShowEdit()"><img src="images/user_edit.png" alt="" title="" border="0" /></a></td>
                    <td><a href="#" class="ask"><img src="images/trash.png" alt="" title="" border="0" /></a></td>
                </tr>  
                <tr>
                    <td><input type="checkbox" name="" /></td>
                    <td>5</td>
                    <td>Cửa hàng kim khí</td>
                    <td><a href="javascript:ShowEdit()"><img src="images/user_edit.png" alt="" title="" border="0"  /></a></td>
                    <td><a href="#" class="ask"><img src="images/trash.png" alt="" title="" border="0" /></a></td>
                </tr>
                
                <tr>
                    <td><input type="checkbox" name="" /></td>
                    <td>6</td>
                    <td>Siêu thị Điện máy</td>
                    <td><a href="javascript:ShowEdit()"><img src="images/user_edit.png" alt="" title="" border="0" /></a></td>
                    <td><a href="#" class="ask"><img src="images/trash.png" alt="" title="" border="0" /></a></td>
                </tr>    
                
            </tbody>
        </table>
	 <a href="javascript:Show()"class="bt_green" ><span class="bt_green_lft"></span><strong>Thêm danh mục</strong><span class="bt_green_r"></span></a>
     <a href="#" class="bt_blue"><span class="bt_blue_lft"></span><strong>Xem tất cả danh mục</strong><span class="bt_blue_r"></span></a>
     <a href="#" class="bt_red"><span class="bt_red_lft"></span><strong>Xóa danh mục</strong><span class="bt_red_r"></span></a> 
     <div class="pagination">
        <span class="disabled"><< prev</span><span class="current">1</span><a href="">2</a><a href="">3</a><a href="">4</a><a href="">5</a>…<a href="">10</a><a href="">11</a><a href="">12</a>...<a href="">100</a><a href="">101</a><a href="">next >></a>
        </div>       
     <div class="valid_box" id="thongbao" style="display:none;">
     	Bạn vừa thêm địa điểm <b>Chợ Hoàng hoa thám</b> thành công
     </div>
     <div class="valid_box" id="thongbaosus" style="display:none;">
     	Bạn vừa sửa địa điểm <b>Chợ Hoàng hoa thám</b> thành công
     </div>
     <div class="valid_box" id="thongbaoxoa" style="display:none;">
     	Bạn vừa xóa địa điểm <b>Chợ Hoàng hoa thám</b> thành công
     </div>
     <div class="error_box" id="baoloi" style="display:none;">
        Thêm địa điểm <b>Chợ Hoàng hoa thám</b> thất bại
     </div>
     <script type="text/javascript">
	 function Show()
   	{
       $("#themdm").show("fast");
       $("#suadm").hide("fast");
	   $("#thongbao").hide("fast");
		 $("#baoloi").hide("fast");
		 	$("#thongbaosus").hide("fast");
			$("#thongbaoxoa").hide("fast");
   	}
   function Hide()
   	{
       $("#themdm").hide("fast");
        $("#suadm").hide("fast");
		$("#thongbao").hide("fast");
		 $("#baoloi").hide("fast");
		 	$("#thongbaosus").hide("fast");
			$("#thongbaoxoa").hide("fast");
   	}
	function ShowEdit()
	{
		$("#thongbao").hide("fast");
		 $("#baoloi").hide("fast");
		 	$("#thongbaosus").hide("fast");
			$("#thongbaoxoa").hide("fast");
	    $("#themdm").hide("fast");
       $("#suadm").show("fast");
	}
	function ShowThongbao(Str)
	{
 		Hide();
	   if(Str==1)
	   {
	     $("#thongbao").show("fast");
	   }
	   if(Str==2 )
	   {
	     $("#baoloi").show("fast");
	   }
	   if(Str==3)
	   {
	   	$("#thongbaosus").show("fast");
	   }
		if(Str==4)
		{
	     $("#thongbaoxoa").show("fast");
		}
		
	}
	 </script>
     <div class="form" id="themdm" style="display:none;">
           <h2>Thêm Địa điểm</h2>

		   <form action="" method="post" class="niceform">
         
                <fieldset>
                    <dl>
                        <dt><label for="email">Tên địa điểm:</label></dt>
                        <dd><input type="text" name="" id="" size="54" /></dd>
                    </dl>
                     <dl class="submit">
                    <input type="button" name="btnluu" id="btnluu" value="Lưu"  onclick="ShowThongbao(1)"/>
                     </dl>
                </fieldset>
                
         </form>
     </div> 
     <div class="form" id="suadm" style="display:none;">
           <h2>Sửa địa điểm</h2>
		   <form action="" method="post" class="niceform">
                <fieldset>
                    <dl>
                        <dt><label for="email">Tên địa điểm:</label></dt>
                        <dd><input type="text" name="" id="" size="54" value="test"/></dd>
                    </dl>
                     <dl class="submit">
                    <input type="button" name="btnluu" id="btnluu" value="Lưu" onclick="ShowThongbao(3)" />
                     </dl>
                </fieldset>
                
         </form>
     </div> 
     </div><!-- end of right content-->           
  </div>   <!--end of center content -->               
                    
                    
    
    
    <div class="clear"></div>
    </div> <!--end of main content-->
	
    
    <div class="footer">
    
    	<div class="left_footer">ADMIN PANEL | Powered by <a href="http://www.google.com">Nice Group</a></div>
    	<div class="right_footer"><a href="http://www.google.com"><img src="images/logohoanthanh.png" alt="" title="" border="0" /></a></div>
    
    </div>

</div>		


</body>
</html>
